﻿layui.config({
    version: '1.0.7'
});
layui.use(['element', 'table', 'laydate', 'form'], function () {
    var element = layui.element;
    var table = layui.table;
    var laydate = layui.laydate;
    var form = layui.form;


    var xmrbtable = table.render({
        id: 'gzwh'
            , elem: '#gzwh'
             , url: '/PFP/JH/JHRW/JHRW.json?v=1.1'
             , cellMinWidth: 100
             , height: 'full'
             , cols: [[
               { field: 'xmbh',width:150, align: 'center', rowspan: 2, fixed: 'left',title: '线路编号' }
             , { field: 'lfs', rowspan: 2, title: '立方数' }
               , { align: 'center', title: '挑货', colspan: 6 }
             , { align: 'center', title: '装车', colspan: 5 }
              , { align: 'center', title: '挑货员工', colspan: 3 }
        
                                    , { field: 'fcsj', rowspan: 2,  title: '发车时间' }
                                       , { field: 'bz', rowspan: 2,  title: '备注' }

             ], [
                    { field: 'ghxs', title: '干货箱数' }
              , { field: 'dhsl', title: '冻货数量' }
              , { field: 'dbsl', title: '冻包数量' }
              , { field: 'chsl', title: '藏货数量' }
                , { field: 'xb', title: '鲜包' }
                  , { field: 'thzxs', title: '挑货总箱数' }
              ,{ field: 'zczxs', title: '装车总箱数' }
               , { field: 'cts', title: '餐厅数' }
              , { field: 'qjp', title: '清洁品' }
               , { field: 'dbsl', title: '冻包数量' }
               , { field: 'xb2', title: '鲜包' }
             ,{ field: 'gh', title: '干货' }
                              , { field: 'dh', title: '冻货' }
                                 , { field: 'db', title: '冻包' }

             ]
             ]
             , page: true
    });







});